home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Internet Group
/
IHUG_SETUP_DISK.BIN
/
mac
/
More Goodies
/
Other Goodies
/
anarchie
/
Anarchie 2.0.1
/
Scripting
/
AppleScripts
/
DropPut Example 2
< prev
next >
Wrap
Text File
|
1996-10-04
|
419b
|
20 lines
-- demonstration of new Anarchie 2.0 feature
-- note lack of password in whereto URL, Anarchie 2.0 will
-- now prompt you for a password if it sees a username
-- inside the ftp URL
property whereto : "ftp://user:@host/path/"
on open doc
if doc's class is not list then
set doc to {doc}
end if
repeat with i in doc
tell application "Anarchie"
activate
store i url whereto
end tell
end repeat
end open